#include"filereader.h"
#include"ciphermachine.h"
#include"filewriter.h"
#include<string>
using namespace std;

int main()
{
    FileReader fr;
    CipherMachine cm;
    FileWriter fw;
    string raw = fr.Read("./file.txt");
    cout << raw << endl;
    string ciphercode = cm.Encrypt(raw);
    cout << ciphercode << endl;
    fw.Write(ciphercode, "./code.txt");
}